package org.example.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/provider")
public class MicroServiceTestController {
    @GetMapping("/{name}")
    public String sayMicro(@PathVariable("name")String name){
        return "微服务的提供方是"+name;
    }
}
